 <nz-input [nzType]="'search'" [nzPlaceHolder]="'搜索工作项'" [(ngModel)]="searchwork" style="width:80%;" (nzOnSearch)="getData($event)"></nz-input>

    <app-list   #child
            [initDate]="data"
            [headerDate]="headerDate"
            [isPagination]="isdelayPagination"
            [isShowTotalhead] = true
            subtotalseleced = true
            (isActive)="isActive($event)"
            (buttonEvent)="buttonEvent($event)"
            [total]="data.length"
            [showAdd]="showAdd" 
            showAdd = true
            [loading]="listloading" 
            [pageIndex]='pageindex'
            (pageNumber)="pageindexHandler($event)"
            [pageTotal] = 'dataTotal'
          >
 </app-list>


       <nz-modal [nzVisible]="branchInfo"  [nzWidth]="1024" [nzTitle]="'代码详情'"   [nzContent]="dictModal"
          (nzOnCancel)="branchInfo=false" (nzOnOk)="savemergeisInfo()" [nzFooter]="is" nzZIndex = '20' >
    <ng-template #dictModal>
        <div style="display:inline-block;">   

   
   <div  nz-col [nzSpan]="24" class="mb-md" *ngFor="let s of checkModalData ; let l = index" >
                    <div>
                        <nz-table #nzTables class="tableDiv"   *ngFor="let k of s.deliveryPatchDetails" nzBordered  [nzIsPagination]="false" [nzDataSource]="s.deliveryPatchDetails">
                            <tbody nz-tbody nz-col [nzSpan]="24" style="padding-bottom: 0.1rem;" >
                            <tr  nz-tbody-tr nz-col [nzSpan]="24">
                                <td class="bcolor" nz-td nz-col [nzSpan]="8">工程名</td>
                                <td nz-td nz-col [nzSpan]="16">{{s.projectName}}</td>
                            </tr>
                            <tr nz-tbody-tr nz-col [nzSpan]="24">
                                <td class="bcolor"  nz-td nz-col [nzSpan]="8">编译为</td>
                                <td nz-td nz-col [nzSpan]="16">{{k.patchType}}</td>
                            </tr>
                            <tr  nz-tbody-tr nz-col [nzSpan]="24">
                                <td class="bcolor"  nz-td nz-col [nzSpan]="8">部署到</td>
                                <td nz-td nz-col [nzSpan]="16">{{k.deployWhere}}</td>
                            </tr>
                            <tr nz-tbody-tr nz-col [nzSpan]="24">
                                <td class="bcolor"  nz-td nz-col [nzSpan]="16">代码</td>
                                <td class="bcolor"  nz-td nz-col [nzSpan]="'4'" >变动类型</td>
                                <td class="bcolor"  nz-td nz-col [nzSpan]="'4'">清单来源</td>
                            </tr>
                            <tr nz-tbody-tr nz-col [nzSpan]="24"  *ngFor="let x of k.fileList;let q = index">
                                <td nz-td nz-col [nzSpan]="'16'"  title="{{x.fullPath}}">{{x.fullPathstr}}</td>
                                <td nz-td nz-col [nzSpan]="'4'">{{x.commitType}}</td>
                                <td nz-td nz-col [nzSpan]="'4'" >标准清单</td>
                             
                            </tr>
                            </tbody>
                        </nz-table>
                    </div>
                        </div>
     </div>
                  </ng-template>
                      <ng-template #is>
                            </ng-template>
</nz-modal>

   <nz-modal [nzVisible]="delayListModal" [nzMaskClosable]= 'false' [nzWidth]="1300" [nzTitle]="'撤销代码列表'" [nzConfirmLoading]="loading" [nzContent]="delay"
              (nzOnCancel)="delList()" (nzOnOk)="getGodelayList()" >
        <ng-template #delay>
             <nz-input [nzType]="'search'" [nzPlaceHolder]="'搜索代码路径'" [(ngModel)]="searchRevert" style="width:80%;" (nzOnSearch)="onSearch($event)"></nz-input>
           <app-list
            [initDate]="delayListData"
            [isPagination]="isdelayPagination"
            (selectedRow)="selectedRow($event)"
            [headerDate]="delayHeaderDate"
            [total]="delayListData.length"
            showAdd = true
            [loading]="listloading" 
            [isShowTotal] = true
            [isShowTotalhead] = true
            subtotalseleced = true
            [pageIndex]='delayPageIndex'
            (pageNumber)="delayMonitorHandler($event)"
            [pageTotal] = 'delaypageTotal'
            [isCaocuo] = 'isCaocuo'
           >
           </app-list>
      </ng-template>
    </nz-modal>

     <nz-modal [nzVisible]="rllbackModal" [nzWidth]="1300" [nzTitle]="'撤销理由'" [nzConfirmLoading]="loading" [nzContent]="reson"
           (nzOnCancel)="rllbackModal=false" (nzOnOk)="getGodelay()">
        <ng-template #reson>
         
           <nz-input [(ngModel)]="reason" [nzType]="'textarea'" [nzRows]="'4'" [nzPlaceHolder]="'请输入撤销理由！'"></nz-input>
      </ng-template>
    </nz-modal>

